import { userInfoType } from '@/redux/interface/index'
import * as types from '@/redux/constant'

export const setToken = (token: string) => ({
	type: types.SET_TOKEN,
	data: token
});

export const setUserInfo = (userInfo: userInfoType) => ({
	type: types.SET_USERINFO,
	data: userInfo
});

export const setIsGuid = (data: boolean) => ({
        type: types.SET_IS_GUID,
        data
    });

